<template>
  <div>
    {{count}}
    {{doubleCount}}
    {{title}}
    <button @click="handleClick">change title</button>
  </div>
</template>

<script>
import useCount from './useCount'
import useTitle from './useTitle'

export default {
  setup() {
    let { count, doubleCount } = useCount()
    let { title, handleClick } = useTitle()

    return {
      count,
      doubleCount,
      title,
      handleClick
    }
  }
}
</script>

<style lang='stylus' scoped>

</style>